package cz.cvut.fel.nur.rcp.classes;

import java.util.Date;

public class HistoryItem {

	private Recipe recipe;
	private Date date;
	private int portions = 1;

	public int getPortions() {
		return portions;
	}

	public HistoryItem(Recipe recipe, Date date, int portions) {
		super();
		this.recipe = recipe;
		this.date = date;
		this.portions = portions;
	}

	public void setPortions(int portions) {
		this.portions = portions;
	}

	public Recipe getRecipe() {
		return recipe;
	}

	public void setRecipe(Recipe recipe) {
		this.recipe = recipe;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public HistoryItem(Recipe recipe, Date date) {
		super();
		this.recipe = recipe;
		this.date = date;
	}

}
